package com.bluemsun.naturallanguageprocessing.dao;

import com.bluemsun.naturallanguageprocessing.entity.Notice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ：hj
 * @date ：Created in 2021/4/29 16:33
 * @description：公告
 * @modified By：
 * @version: $
 */
@Repository
public interface NoticeMapper {
    List<Notice> getList(@Param("pageSize") Integer pageSize ,@Param("index") Integer index);

    Integer insertNotice(@Param("notice") Notice notice1);

    Integer setNotice(@Param("notice") Notice notice);

    Integer Count();
}
